<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-4476863800158400170.post7807912656810226794..comments</id><updated>2022-03-22T15:29:41.873+01:00</updated><title type='text'>Comments on TDIing out loud, ok SDIing as well: </title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.tdiingoutloud.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><author><name>Eddie Hartman</name><uri>http://www.blogger.com/profile/12264507239868838185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-4721846017896564387</id><published>2017-04-14T10:38:37.327+02:00</published><updated>2017-04-14T10:38:37.327+02:00</updated><title type='text'>@PM That&amp;#39;s up to you. You could either choose ...</title><summary type='text'>@PM That&amp;#39;s up to you. You could either choose a link crit that gives you a single hit, or you could use a Connector Loop for the Lookup - and that let&amp;#39;s you easily cycle through all entries found. This can also be done in script via the On Multiple Entries Hook (as described in the TDI Flow Diagrams: https://dl.dropboxusercontent.com/u/375185/Docs/TDI_7.1_FlowDiagrams.pdf&lt;br /&gt;&lt;br /&gt;Also,</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/4721846017896564387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/4721846017896564387'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1492159117327#c4721846017896564387' title=''/><author><name>Eddie Hartman</name><uri>https://www.blogger.com/profile/12264507239868838185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1704999844"/><gd:extendedProperty name="blogger.displayTime" value="April 14, 2017 at 10:38 AM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-6108590658171377119</id><published>2017-04-14T04:56:40.415+02:00</published><updated>2017-04-14T04:56:40.415+02:00</updated><title type='text'>@Eddie : Thanks . I corrected the code to use the ...</title><summary type='text'>@Eddie : Thanks . I corrected the code to use the attribute object and not the array . &lt;br /&gt;&lt;br /&gt;I have another issue now . I am using LDAP update to update the multi valued attribute ( i.e strip it off the roles not required ) .&lt;br /&gt;&lt;br /&gt;For some reason if the uid is a non - unique parameter , and when the AL finds a duplicate uid , it is throwing &amp;quot;On Multiple Entries&amp;quot; error . I am</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/6108590658171377119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/6108590658171377119'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1492138600415#c6108590658171377119' title=''/><author><name>PM</name><uri>https://www.blogger.com/profile/14178254620232792311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2082528700"/><gd:extendedProperty name="blogger.displayTime" value="April 14, 2017 at 4:56 AM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-500446440859222853</id><published>2017-04-13T23:28:42.548+02:00</published><updated>2017-04-13T23:28:42.548+02:00</updated><title type='text'>@PM not quite. You don&amp;#39;t want to create a new ...</title><summary type='text'>@PM not quite. You don&amp;#39;t want to create a new array passing in your attribute - you&amp;#39;ll get an Array with a single value - the Attribute itself. Instead you can use attribute.removeValue(val) to remove the values you want from the Attribute. Note that all values are unique, so adding the same value multiple times will only result in a single value. And when you remove that value, it is </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/500446440859222853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/500446440859222853'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1492118922548#c500446440859222853' title=''/><author><name>Eddie Hartman</name><uri>https://www.blogger.com/profile/12264507239868838185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1704999844"/><gd:extendedProperty name="blogger.displayTime" value="April 13, 2017 at 11:28 PM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-6368660168895839263</id><published>2017-04-13T18:05:17.462+02:00</published><updated>2017-04-13T18:05:17.462+02:00</updated><title type='text'>Hi , &#xa;&#xa;I think I can relate to this code here and ...</title><summary type='text'>Hi , &lt;br /&gt;&lt;br /&gt;I think I can relate to this code here and I am stuck at a similar issue . Eddie could you please take a look ?&lt;br /&gt;&lt;br /&gt;I have a role multi-valued attribute and want to delete certain roles ( have 6 roles.. if any value is one of those 6 , should be removed from the multi valued attribute )&lt;br /&gt;&lt;br /&gt;Can I do this ?&lt;br /&gt;&lt;br /&gt;//Code Snippet &lt;br /&gt;&lt;br /&gt;var assocroles = </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/6368660168895839263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/6368660168895839263'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1492099517462#c6368660168895839263' title=''/><author><name>PM</name><uri>https://www.blogger.com/profile/14178254620232792311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2082528700"/><gd:extendedProperty name="blogger.displayTime" value="April 13, 2017 at 6:05 PM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-1083574925895307958</id><published>2016-09-19T11:37:13.512+02:00</published><updated>2016-09-19T11:37:13.512+02:00</updated><title type='text'>Just one last thing, good sir, if you are using Up...</title><summary type='text'>Just one last thing, good sir, if you are using Update mode to write to LDAP, then you should be able to change values by simply setting the operation (delta) code for each value as either &amp;#39;add&amp;#39;, &amp;#39;delete&amp;#39; or &amp;#39;unchanged&amp;#39;. Of course, if you do this, then you also need to set the code for the attribute itself to &amp;#39;modify&amp;#39; and the same goes for the Entry.&lt;br /&gt;&lt;br /&gt;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/1083574925895307958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/1083574925895307958'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1474277833512#c1083574925895307958' title=''/><author><name>Eddie Hartman</name><uri>https://www.blogger.com/profile/12264507239868838185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1704999844"/><gd:extendedProperty name="blogger.displayTime" value="September 19, 2016 at 11:37 AM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-705621276435179353</id><published>2016-09-18T18:11:55.285+02:00</published><updated>2016-09-18T18:11:55.285+02:00</updated><title type='text'>Thank you Eddie Hartman for the reply. I can see t...</title><summary type='text'>Thank you Eddie Hartman for the reply. I can see the newRole values in the loop. But the data in my LDAP is not modified. I have added one dummy value in the loop so that the excluded role is replaced with the new dummy role and the results are satisfactory. Thank you for the help.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/705621276435179353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/705621276435179353'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1474215115285#c705621276435179353' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/18361875144183275690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-288974282"/><gd:extendedProperty name="blogger.displayTime" value="September 18, 2016 at 6:11 PM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-7929775737400028547</id><published>2016-09-17T17:50:53.057+02:00</published><updated>2016-09-17T17:50:53.057+02:00</updated><title type='text'>I would set up the newRole attribute first (before...</title><summary type='text'>I would set up the newRole attribute first (before the loop) and return it after. Something like this:&lt;br /&gt;&lt;br /&gt;var newRole = system.newAttribute(&amp;quot;authoritypersonlist&amp;quot;);&lt;br /&gt;var oldRole = work.getAttribute(&amp;quot;authoritypersonlist&amp;quot;);&lt;br /&gt;&lt;br /&gt;if (oldRole != null) {&lt;br /&gt;    for (var role in oldRole) {&lt;br /&gt;       if (role.indexOf(&amp;quot;erglobalid=aaaaaaaaa,ou=0,ou=people,</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/7929775737400028547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/7929775737400028547'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1474127453057#c7929775737400028547' title=''/><author><name>Eddie Hartman</name><uri>https://www.blogger.com/profile/12264507239868838185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1704999844"/><gd:extendedProperty name="blogger.displayTime" value="September 17, 2016 at 5:50 PM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-1889080510044744077</id><published>2016-09-17T10:49:47.649+02:00</published><updated>2016-09-17T10:49:47.649+02:00</updated><title type='text'>Hi Eddie Hartman,&#xa;&#xa;This is my script used&#xa;var Arra...</title><summary type='text'>Hi Eddie Hartman,&lt;br /&gt;&lt;br /&gt;This is my script used&lt;br /&gt;var Array = work.getAttribute(&amp;quot;authoritypersonlist&amp;quot;);&lt;br /&gt;var String = &amp;quot;&amp;quot;;&lt;br /&gt;//task.logmsg(&amp;quot;length of array&amp;quot;+Array.length);&lt;br /&gt;&lt;br /&gt;if (Array !=null)&lt;br /&gt;{&lt;br /&gt;String = Array.getValue(0);&lt;br /&gt;for (i=0;i&amp;lt;Array.size();i++)&lt;br /&gt;{&lt;br /&gt;var role = Array.getValue(i);&lt;br /&gt;if (role.indexOf(&amp;quot;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/1889080510044744077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/1889080510044744077'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1474102187649#c1889080510044744077' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/18361875144183275690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-288974282"/><gd:extendedProperty name="blogger.displayTime" value="September 17, 2016 at 10:49 AM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-579871708145297688</id><published>2016-09-16T16:59:36.041+02:00</published><updated>2016-09-16T16:59:36.041+02:00</updated><title type='text'>@saipraveen&#xa;&#xa;Are you setting an Array as the value...</title><summary type='text'>@saipraveen&lt;br /&gt;&lt;br /&gt;Are you setting an Array as the value of an Attribute? If so, then you&amp;#39;ll need to use work.getObject(&amp;#39;attributeName&amp;#39;) to get the array and then do your splicing directly on it. Otherwise, I am not sure how you are seeing this problem. Do you have a script snippet that illustrates your problem? If so, please share and I&amp;#39;ll have a look.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/579871708145297688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/579871708145297688'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1474037976041#c579871708145297688' title=''/><author><name>Eddie Hartman</name><uri>https://www.blogger.com/profile/12264507239868838185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1704999844"/><gd:extendedProperty name="blogger.displayTime" value="September 16, 2016 at 4:59 PM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-5398342199218223650</id><published>2016-09-16T15:52:36.500+02:00</published><updated>2016-09-16T15:52:36.500+02:00</updated><title type='text'>removeValue(42) if tried is giving empty array. It...</title><summary type='text'>removeValue(42) if tried is giving empty array. It is removing complete array. I am using TDI 7.0</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/5398342199218223650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/5398342199218223650'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1474033956500#c5398342199218223650' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/18361875144183275690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-288974282"/><gd:extendedProperty name="blogger.displayTime" value="September 16, 2016 at 3:52 PM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-4565714270262656223</id><published>2016-09-14T12:48:39.947+02:00</published><updated>2016-09-14T12:48:39.947+02:00</updated><title type='text'>Hi @saipraveen,&#xa;&#xa;Are you trying to remove a specif...</title><summary type='text'>Hi @saipraveen,&lt;br /&gt;&lt;br /&gt;Are you trying to remove a specific value from a multi-valued attribute? For example:&lt;br /&gt;&lt;br /&gt;// create multi-valued att and add three values&lt;br /&gt;mvalAtt = system.newAttribute(&amp;quot;mvalAtt&amp;quot;);&lt;br /&gt;mvalAtt.addValue(&amp;quot;A&amp;quot;);&lt;br /&gt;mvalAtt.addValue(&amp;quot;B&amp;quot;);&lt;br /&gt;mvalAtt.addValue(42);&lt;br /&gt;mvalAtt.addValue(&amp;quot;C&amp;quot;);&lt;br /&gt;&lt;br /&gt;task.logmsg(&amp;quot;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/4565714270262656223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/4565714270262656223'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1473850119947#c4565714270262656223' title=''/><author><name>Eddie Hartman</name><uri>https://www.blogger.com/profile/12264507239868838185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1704999844"/><gd:extendedProperty name="blogger.displayTime" value="September 14, 2016 at 12:48 PM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-6313141285098194404</id><published>2016-09-14T12:38:52.714+02:00</published><updated>2016-09-14T12:38:52.714+02:00</updated><title type='text'>HI ,&#xa;&#xa;Can you tell me how to modify Multivalued at...</title><summary type='text'>HI ,&lt;br /&gt;&lt;br /&gt;Can you tell me how to modify Multivalued attribute using TDI. If i use removeValue complete array is removed. Tell me the best way of doing it</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/6313141285098194404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/6313141285098194404'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1473849532714#c6313141285098194404' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/18361875144183275690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-288974282"/><gd:extendedProperty name="blogger.displayTime" value="September 14, 2016 at 12:38 PM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-9048227526020970974</id><published>2015-02-12T11:43:22.846+01:00</published><updated>2015-02-12T11:43:22.846+01:00</updated><title type='text'>Hi Eddie,&#xa;&#xa;Sorry, I think I submitted the comment ...</title><summary type='text'>Hi Eddie,&lt;br /&gt;&lt;br /&gt;Sorry, I think I submitted the comment twice... oops.&lt;br /&gt;&lt;br /&gt;I couldn&amp;#39;t get that to work so I instead added some script to the attribute map on the file connector, against the erroles attribute:&lt;br /&gt;&lt;br /&gt;var Array = work.getAttribute(&amp;quot;erroles&amp;quot;);&lt;br /&gt;var String = &amp;quot;&amp;quot;;&lt;br /&gt;&lt;br /&gt;if (Array !=null &amp;amp;&amp;amp; Array.size()&amp;gt;0)&lt;br /&gt;{&lt;br /&gt; String = </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/9048227526020970974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/9048227526020970974'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1423737802846#c9048227526020970974' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1470084100"/><gd:extendedProperty name="blogger.displayTime" value="February 12, 2015 at 11:43 AM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-3584807882391119393</id><published>2015-02-12T10:46:52.762+01:00</published><updated>2015-02-12T10:46:52.762+01:00</updated><title type='text'>@Tobias somehow I published your latest comment tw...</title><summary type='text'>@Tobias somehow I published your latest comment twice. I surprise myself sometimes :)&lt;br /&gt;&lt;br /&gt;As to your question, you can either use the Attribute value loop and then just the script inside the for-loop. Have you tried to step through your code in the AL Debugger? This often gives insight into what is working (and what is not).&lt;br /&gt;&lt;br /&gt;If you&amp;#39;re still having a problem then post some </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/3584807882391119393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/3584807882391119393'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1423734412762#c3584807882391119393' title=''/><author><name>Eddie Hartman</name><uri>https://www.blogger.com/profile/12264507239868838185</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1704999844"/><gd:extendedProperty name="blogger.displayTime" value="February 12, 2015 at 10:46 AM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-2986389811554161837</id><published>2015-02-12T10:33:54.753+01:00</published><updated>2015-02-12T10:33:54.753+01:00</updated><title type='text'>Hi Eddie, &#xa;&#xa;The bottom scenario is exactly what I&amp;...</title><summary type='text'>Hi Eddie, &lt;br /&gt;&lt;br /&gt;The bottom scenario is exactly what I&amp;#39;m after but I can&amp;#39;t get it to work... &lt;br /&gt;&lt;br /&gt;Do I need an Attribute Value Loop and to use the script in the Script component, within the value loop? &lt;br /&gt;&lt;br /&gt;Kind regards, &lt;br /&gt;Tobi </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/2986389811554161837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/2986389811554161837'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1423733634753#c2986389811554161837' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1470084100"/><gd:extendedProperty name="blogger.displayTime" value="February 12, 2015 at 10:33 AM"/></entry><entry><id>tag:blogger.com,1999:blog-4476863800158400170.post-5616347888082084194</id><published>2015-02-12T10:33:40.900+01:00</published><updated>2015-02-12T10:33:40.900+01:00</updated><title type='text'></title><summary type='text'>This comment has been removed by a blog administrator.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/5616347888082084194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4476863800158400170/7807912656810226794/comments/default/5616347888082084194'/><link rel='alternate' type='text/html' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html?showComment=1423733620900#c5616347888082084194' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.tdiingoutloud.com/2008/02/if-you-want-tdi-to-return-mutliple.html' ref='tag:blogger.com,1999:blog-4476863800158400170.post-7807912656810226794' source='http://www.blogger.com/feeds/4476863800158400170/posts/default/7807912656810226794' type='text/html'/><gd:extendedProperty name='blogger.contentRemoved' value='true'/><gd:extendedProperty name="blogger.itemClass" value="pid-1470084100"/><gd:extendedProperty name="blogger.displayTime" value="February 12, 2015 at 10:33 AM"/></entry></feed>